<!doctype html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>${site.name} - <@t.page 'management_system'/> - <@t.page 'login_page'/></title>
    <link rel="stylesheet" href="${res}/login/login.css">
</head>
<body onload="document.getElementsByTagName('input')[0].focus();">
<div class="login_body">
    <div class="login_form clearfix">
        <form action="login.do" method="post">
            <p class="logo"><img src="<#if siteAttribute.logo?has_content>${site.sitePath+siteAttribute.logo}<#else>${res}/themes/logo.png</#if>"/></p>
            <p><input type="text" name="username" placeholder="<@t.page 'user.username'/>" title="<@t.page 'user.username'/>"/></p>
            <p><input type="password" name="password" placeholder="<@t.page 'password'/>" title="<@t.page 'password'/>"/></p>
            <p>
                <input type="submit" value="<@t.page 'login'/>"/>
                <input type="hidden" name="returnUrl" value="${(returnUrl!)}"/>
            </p>
        </form>
    </div>
    <p class="login_msg">
        <#if error??>
            <@t.m error/>
        </#if>
        <#if message??>
            <@t.m "message."+message/>
        </#if>
    </p>
</div>
</body>
</html>